#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

class MainWindowPrivate;
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

protected:
    virtual void closeEvent(QCloseEvent* event) override;

private slots:
    void on_actionSaveState_triggered(bool);
    void on_actionRestoreState_triggered(bool);
    void savePerspective();
    void onViewToggled(bool Open);
    void onViewVisibilityChanged(bool Visible);
    void createEditor();
    void createTable();
    void onEditorCloseRequested();
    void showStatusDialog();
    void toggleDockWidgetWindowTitle();

private:
    MainWindowPrivate *d;
};
#endif // MAINWINDOW_H
